package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(description = "台账明细")
@TableName("wms_store_accounts")
public class BaseStoreAccountsEntity{
  @ApiModelProperty("主键id")
  @TableId(type = IdType.AUTO)
  private Long id;

  @ApiModelProperty("流程对应单号")
  private String orderNo;

  @ApiModelProperty("产品id")
  private Long productId;

  @ApiModelProperty("重量")
  private Double weight;

  @ApiModelProperty("体积")
  private Double volume;

  @ApiModelProperty("数量")
  private Long amount;

  @ApiModelProperty("托盘数")
  private Long trays;

  @ApiModelProperty("原仓库id")
  private Long srcStoreId;

  @ApiModelProperty("原库位id")
  private Long srcLocationId;

  @ApiModelProperty("现仓库id")
  private Long destStoreId;

  @ApiModelProperty("台账类型")
  private String accountsType;

  @ApiModelProperty("现库位id")
  private Long destLocationId;

  @ApiModelProperty("批次")
  private String batch;

  @ApiModelProperty("创建时间")
  private Date createTime;

  @ApiModelProperty("创建人")
  private Long createBy;
}
